<div class="box"> <!-- Box begins here -->
	<h2>Chỉnh sửa Video</h2>
	<!--
	Standard form within a fieldset tag;
-->
	<?php 
		$error = $this->error;
		$data = $this->data;
	?>
<form method="post" action="" enctype="multipart/form-data"><!-- Form -->
				<?php 
					if(isset($this->success)){
						echo "<div class='success'><center><h3>".$this->success."</h3></center></div>";					
					}
				?>
					<fieldset><legend>Thông tin menu</legend>
					<?php echo $this->formHidden('id',$data['id'],null);?>
					<div class="input_field">
						<label for="name">Tên Video</label>
 												
 						<?php echo $this->formText("name",$data['name'],null); ?>
 						<?php 
 							if(isset($error['name'])){
							echo '<span class="validate_error">'.$error['name'].'</span>';
							}
 						?>
					</div>
					<div class="input_field">
						<label for="link">Mã nhúng Video</label>
 												
 						<?php echo $this->formTextarea("link",$data['link'],null); ?>
					</div>					
					</fieldset>
					<input class="submit" type="submit" value="Lưu" />
			</form><!-- /Form -->
</div> <!-- END Box-->				